

<HTML>
<HEAD>
<TITLE>Sixth Test of Section 5.1 of CSS2 Spec</TITLE>

<STYLE TYPE="text/css">



p:lang(fr) {color: blue}
h3+p {color: green}


</STYLE>
</HEAD>




<BODY>
<h1 >
Testing Sixth Testable Statement of Sec 5.1 of CSS2 Specification
</h1>


<ul>
<li  >
6. E:lang(c) matches element of type E if it is in (human) language c, and
E+F matches any F element immediately preceded by an element E.
</ul>




<h2 >
PASS CRITERIA:
</h2>
<p >
If statement #6 above is passed, then
<p>
Comment allez vous?  Tres bien, merci, et vous?
<h3>
Paragraph above (in french) should be blue, because of rule
"p:lang(fr) {color: blue}".
</h3>
<p>
This paragraph should be green, because of 
the rule "h3+p {color: green}", 
and the p element immediately follows h3 element above.
<p>
This paragraph should be UA-default.
All other properties of this page should be UA-default.


To move to the next test, click<a href="5-07.htm"> here</a>
</BODY>
</HTML>

